<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html >
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'addMachine.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="res/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="res/css/bootstrap-responsive.min.css">
    <link rel="stylesheet" type="text/css" href="res/css/style.css">
    <script type="text/javascript" src="res/js/jquery-1.9.1.min.js"></script>

  </head>
  
  <body>
    
    <%@include file="../../template/header.jsp" %>
    
    <div class="subHead">
        <div class="container">
            <h1>商家管理后台</h1>
            <p class="lead">商家可以在此修改商品，修改商品类别，添加子店铺账户（总店管理员）等。</p>
        </div>
    </div>
    <div class="row mainContent">
        
        <%@include file="../../template/shopNav.jsp" %>
        
        <div class="span6">
            <form class="form-horizontal" action="shop/addMyMachine.htm">
                <legend class="text-warning">添加机器</legend>
                
                <div class="control-group">
                    <label class="control-label" for="name">机器名称:</label>
                    <div class="controls">
                        <input type="text" id="name" name="name" placeholder="请输入机器名称">
                        <span class="help-inline"></span>
                    </div>
                </div>
                
                 <div class="control-group">
                    <label class="control-label" for="oneYuanNum">一元面值数量:</label>
                    <div class="controls">
                    	<input type="text" id="oneYuanNum" name="oneYuanNum" placeholder="请输入一元面值数量">
                        <span class="help-inline"></span>
                    </div>
                </div>
                
                <div class="control-group">
                    <label class="control-label" for="fiveYuanNum">五元面值数量:</label>
                    <div class="controls">
                    	<input type="text" id="fiveYuanNum" name="fiveYuanNum" placeholder="请输入五元面值数量">
                        <span class="help-inline"></span>
                    </div>
                </div>
                
                <div class="control-group">
                    <label class="control-label" for="tenYuanNum">十元面值数量:</label>
                    <div class="controls">
                    	<input type="text" id="tenYuanNum" name="tenYuanNum" placeholder="请输入十元面值数量">
                        <span class="help-inline"></span>
                    </div>
                </div>
                
                <div class="control-group">
                    <label class="control-label" for="twentyYuanNum">二十元面值数量:</label>
                    <div class="controls">
                    	<input type="text" id="twentyYuanNum" name="twentyYuanNum" placeholder="请输入二十元面值数量">
                        <span class="help-inline"></span>
                    </div>
                </div>
                
                <div class="control-group">
                    <label class="control-label" for="fiftyYuanNum">五十元面值数量:</label>
                    <div class="controls">
                    	<input type="text" id="fiftyYuanNum" name="fiftyYuanNum" placeholder="请输入五十元面值数量">
                        <span class="help-inline"></span>
                    </div>
                </div>

                <div class="control-group">
                    <div class="controls">
                        <button type="submit" class="btn">提交</button>
                        <button type="reset" class="btn">重置</button>
                    </div>
                </div>
            </form>
        </div>
    </div>

    <div class="footer">
        <p>版权所有： 银盒子计划团队</p>
    </div>

    <script type="text/javascript" src="res/js/bootstrap.min.js"></script>
    <script type="text/javascript">
    
     $('li[name=templateHeader]').each(function(){
    	var that = $(this);
    	that.removeClass("active");
    
    });
	$("#templateHeader2").addClass("active"); 
	
	$('li[name=shopNav]').each(function(){
        	var that = $(this);
        	that.removeClass("active");
    });
    $("#shopNav9").addClass("active");
    
    </script>
  </body>
</html>
